//
//  HSRefreshGifHeader.m
//  XLDoctor
//
//  Created by longma on 2018/9/30.
//  Copyright © 2018年 XLH. All rights reserved.
//

#import "MJUIRefreshHeader.h"

@implementation MJUIRefreshHeader

#pragma mark - 重写父类的方法
- (void)prepare{
    [super prepare];
    [self setTitle:@"下拉刷新" forState:MJRefreshStateIdle];
    [self setTitle:@"松开刷新" forState:MJRefreshStatePulling];
    [self setTitle:@"刷新中" forState:MJRefreshStateRefreshing];

    // 设置颜色
    self.stateLabel.textColor = UIColor.mj_grayColor;
    self.stateLabel.font = [UIFont systemFontOfSize:12];
    //是否显示最近一次刷新时间
    self.lastUpdatedTimeLabel.hidden = YES;
    //在导航栏下是否自动切换透明度
    self.automaticallyChangeAlpha = true;
}


@end
